package org.yscz.entity.vo;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.yscz.entity.CalculationRules;
import org.yscz.entity.Scale;
import org.yscz.entity.Score;
import springfox.documentation.spring.web.json.Json;

import java.io.Serializable;
import java.util.List;

/**
 * @author achen
 * @create 2021-10-11 14:19
 */
@Data
@ToString
@Accessors(chain = true)
public class ScaleScoreVo extends Scale implements Serializable {
    /**
     * 量表分类名
     */
    private String scaleTypeName;

    /**
     * 总分规则
     */
    private List<Score> totalScore;

    /**
     * 因子分规则
     */
    private List<Score> factorScore;

    /**
     * 阴阳分规则
     */
    private List<Score> lunisolarScore;

    /**
     * 正反分规则
     */
    private List<Score> proAndConScore;

    /**
     * 计算规则：{"总分":"平均分","因子分":""}
     */
    private CalculationRules calculationRules;

    /**
     * 行业ID
     */
    private Long projectId;
}
